package com.baogu.factoryjob.service.remote;

import com.baogu.model.common.HttpResult;
import com.baogu.model.database.ControllerStatus;
import com.github.pagehelper.PageInfo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "baogu-database")
public interface ControllerStatusRemoteService {

    @RequestMapping(method = RequestMethod.GET,value = "/controllerStatus/allList/{pageNum}/{pageSize}")
    public HttpResult allList(@RequestParam("pageNum")Integer pageNum, @RequestParam("pageSize")Integer pageSize);
}
